ModifyBandwidthPackageAttribute
Description
uses the ModifyBandwidthPackageAttribute interface to modify the name and description of the specified NAT bandwidth package.
Request Method
POST
Request Path
/apsara/route/Vpc/ModifyBandwidthPackageAttribute
Request Parameters Common Parameters
Name | Location | Type | Required | Sample value | Description |
---|---|---|---|---|---|
Description | BODY | string | No | This is NAT. | NAT bandwidth package description information. 2 to 256 characters in length, which must start with a letter or Chinese, but cannot start with http:// or https:// . |
regionId | BODY | string | Yes | No sample value for this parameter. | region id |
BandwidthPackageId | BODY | string | Yes | bwp-s6lmotmkk**** | ID of NAT bandwidth package. |
RegionId | BODY | string | Yes | cn-qingdao-env17-d01 | the region ID of the NAT bandwidth package. you can obtain the region by calling DescribeRegions interface ID. |
version | BODY | string | No | 2016-01-01 | version of api |
Name | BODY | string | No | NATABC | The name of the NAT bandwidth package. It must be 2 to 128 characters in length and must start with a letter or Chinese. It can contain numbers, half-width periods (.), underscores (_), and dashes (-). But you cannot use http:// or https:// start. |
Return data
Name | Type | Sample value | Description |
---|---|---|---|
RequestID | string | 1E3D5A1E0-67CA-43DA-24BC-EAF2D5A1E4DC | Request id |
Example
Successful Response example
{
"RequestID":"1E3D5A1E0-67CA-43DA-24BC-EAF2D5A1E4DC"
}
Failed Response example
{
"errorSample":
{
"resultCode":-1,
"resultMsg":"system error",
"result":null
}
}